Fixes invalid Arel predicted table alias