Fixed the previous problem. Had an outdated getAll()-method.