Bug fixed: Fixed error replacing table aliases with keyspace