Removed bad function query.