Fix undefined property $fixture error identified by Scrutinzer