Treat cases where problem set is empty because of subset

If the subset flag is passed but the file is empty, raise an exception.
Also, if a non-empty subset is passed, but the intersection of the problems in the input and the subset is empty, raise and exception.