better feedback for deprecated require flex/rails
better condition for cleanable_query check