Hi Nikhil,
I did som debugging and it seems like its throwing an error while executing the drop collection call. The other commands seems to run fine.
I have confirmed that when using secondaryPreferred read preference, dropping a collection using the current node.js driver version 2.1.19 resulted in a not master error, which does not happen with other commands such as insert, update, and delete.
I noticed that you have submitted a JIRA ticket NODE-716. The ticket was recently resolved, and the fix will be included in the next release of the node.js driver.
Thank you for reporting this issue.
Best regards,
Kevin