Fix php notices
Improve development version getSiftScore