Change associatedFacilities data structure, Make the null integers to be -1, change improper "AND" and "==" in getWhereClauses

Change associatedFacilities to be stored in ArrayList, Make the null integers to be -1, change improper "AND" and "==" in getWhereClauses