Brick or Fieldcollection not found in maintenance

When I run maintenance from the console I get some errors like
Brick ‘xy’ not found. Please check table object_brick_query_xy_1

Similar errors for all my bricks and fieldcollections. I think it has to do with case sensitivity. My items are named camel case and maintenance task is searching for lower case named definition files, because it fetches their name from the lower case table names.

Application works fine, but error message is not nice.

Sounds strange, you can recreate the actual files from definition using that command:
bin/console pimcore:deployment:classes-rebuild -c -d