Fixed recipe removal logic

Signed-off-by: Justin Wiblin <Justin_wiblin@hotmail.co.uk>