All security threats are assessed by very skilled threat assessors. Presumably this situation was assessed as low risk with no requirement for an immediate landing. As such if a diversion needs to be made to offload the bag then commercial decisions come to the fore and it was probably better to return the passengers to LHR where they may have stood a better chance of travelling on a later flight and where those who no longer wished to travel could go home.