Fixed argument checking in sim_reads