partial fix for multiprocessing in windows environment
fixed a bug with a conditional within an and/or in a return statement