Fixed subtle bug with SPIP