Fixed a wrong check of return atribute for STORK