Implemented support for filtering by association's columns
Fixed issue with detecting if field is related to specific table