Fixed strict standards warning (2)

Went through and fixed all instances of end(array_keys($...)) by
declaring an intermediate variable